﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FJERP.BLL;

namespace FJERP
{
    public partial class SellStatisticsShow : System.Web.UI.Page
    {
        ShipmentsBLL bll = new ShipmentsBLL();
        SellStatisticsBLL bl = new SellStatisticsBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                aLoad();
            }
        }
        public void aLoad()
        {
            int id = Convert.ToInt32(Request.QueryString["id"]);
            this.q.InnerText = bl.OneSumMoney(id).ToString();
            this.Repeater1.DataSource = bll.ShowShipmentsByid(id);//获取数据源
            this.Repeater1.DataBind();//绑定数据源
        }
    }
}